added video controller and list videos function