Display flash messages
Custom registrations controller to redirect back to home page on sign in
failure

http://natashatherobot.com/devise-sign-up-ajax-rails/
Show errors for sign in and sign up