added schemas to controller