layout is applied to login view