Added custom events support. Added accounts page mock.