Fixed all of the session forms and updated the flash notices to work properly with Rails 4.1