after 3 letters call method in controller