added flash messages to application
Set up devise settings