created sessions controller and view, modified flash in _header.html.erb from flash to flash.now