added idp and user to the data layer custom request
created middleware folder and added the identity middleware
small change in environment docs and formatting
changed request.session to request.globalSession in renderer
requesting the component session for controller when the component uses it
modified identity provider to work with the new session
added idp, user and environment to socket and optimized session calls