Java servlet for fetching user information