adding authentication and login