added filter to restrict users to only their profile pages