Commented Controller code for session