created controller file