Converted sessionController to a property