getUserWithUsername returns a user object from the DB