Added rest support for create new user.