Moving AdminController database interaction to services