I'm OK with this. In a future PR, please move these to the model, so that other controllers can re-use the same database calls.