login logout and layout changes