add login link and other links after login, and make some minor changes.