BUG: properly show errors for profile page,

i.e., those who are not logged in or who don't own that profile shouldn't be able to edit