Added auth and registration