Ajax request from front end can be processed by server to register new user.