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 users to the home page.