added routs and stuff to the controllers