finished up most of the login functionality