got the database tool better, got the login function actually working, and established a session with the correct information