clean up stop api to its own controller