Add access control to edit profile page.