Creates permalinks for user profiles, fixes login bug