add login authentication and edit profile forms