removed closing php tag on controller