<h1>Login</h1>

<form method='POST' action='login'>
@csrf
Username : 
<input type='text' name='user'><br>

Password :
<input type='password' name='pwd'><br>
<input type='submit' name='btn' value='Login'>
</form>