add documentation for registration REST API