ajax submission and deletion on team show functioning