modified controller and seeds file