Prevent users from accessing another user's edit form

While no user could edit another user's data, they could access the data edit form. This change redirects an unauthorized user to the home page.