moved herokuapp routing to controller