Added alert in the Application Controller for Devise gem