Optimized getUserId method in CustomerUserServlet