allow to run login synchronously on the server