We would like for our users to be able to login with either their registered email (user name) or their name (display name). For that I wanted to use the following .