binded search email box to controller. took a while..