fix permalink setting for users