This method could be reduced to `return session.query(cls).filter_by(username=username).first()` :neckbeard: