improved controller management; using model in controller