updated the login and profile modules