Fixing atomic function AddProfileServlet