Added Servlet exception and synchronization for userManager