Add registration and authorization