remember me and layout change