ensuring that users can only edit, update and delete their own profiles