Security changes

- Bug with security session was fixed
- UserContext interface was added
- SecurityUserContext was updated