open user profiles; deleted redundancy from code