Changed controller back to original configuration. Works on localhost