simplified controller (removed unnecessary respond_to blocks