added relationship methods to controller