better behaviour in view on authorization