responsive form for password input