prevented non-users from viewing others' profiles