now we can login by both username and email