Need to create a service that will unify all authorisation logic: for backend, sandbox and other future tools.