Authenticating both username and email using devise