Use input password in login and register page