Modify sessions_helper.rb