Adding new endpoint for registration