change layout after login