Added event handlers and edit customer features