email changed to username in login