controller now gets and sets DB for current rates properly