Added checks to only allow users to edit and delete their own bots