Made databse but having trouble recognizing user