finishing up authentication and login system