Checking whether the user is currently logged in to prevent update/delete him