initializing session variable for project_state and task_state
to 'open' if no such session variable already exists