Refactoring (creating userService & memcachedSession) NEED REVIEW