Moved the logic to stop users being able to edit other profiles from the edit profile screen from the .jsp file to the .java file