Restrict profile to logged in users.