add api accounts controller with routes