Fixed view to use username instead of email