- changed the behaviour of autorization callback