changed all admin strong params to "resource" in order to make client side admin generic