Add Register and Reset password API.