Implemented shiro session management