Fix bug about seeing other user's permalinks