Optimization login/out view