made some changes to login and profile templates