setting so that only signed in users can edit profile