Added an onclick event to each account