made the login work, and add to database. still need to do some work with updating user