created customer page/customer api/ and event handling