added a test for username not in db