Refactor Cookie Retrieval

Moved user cookie retrieval code to UserCookie class in method
getCookie(HttpServletRequest req)