start to add apis to controller