added view for logout