Refactor of add videos api