change login attribution from email to username.