linked up user profiles on index and show pages