Attempted to make profile pages more efficient