signup and login functionality works, adds to database. tests are flawed