implement session so that you must be logged in to make a survey