Testing Ajax

added a view and controller code..