Added a new variable to the session to record how many times the user has accessed