Creating flash notices and alerts in the user controller and are shown via the application.html.erb