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