updated sessions_helper with redirect_back_to and store_location methods