JC: refectoring remember_link by checking if session[:page_step] nil or not.