Corrected $sessionManager var to use service manager