today variant for registration and authorization