fixed a bug of log out link in profile page