fix lougout bug, add post-login layout