Bug fix for devise redirection on invalid email submission