How can I create a password and login form with security