added examples for session[:referer]