Added login and reset password functionalities

added loging and reset password