improved auth view