fix #12 Delete customer fails when it has purchase order
cleanup
fix #11 Logout fails