Finish backend and ajax for buses