Removed some unnecessary functions from useless controller