Created 'UserSession' service, which handles the storing of the user id over pages in the application.