Added purchases controller