You don't treat for ammonia, if ammonia build up is too high, you change water! That's the golden rule, you don't ever use chemicals to take out ammonia, nitrite and nitrate, though, a safe chemical you can use for removing above you can use Seachem Prime.
The frogs, do better at 10 gallon tank with no fish at all in there, they thrive actually.
Bettas, are not suitable for community fish at all. They are aggressive and are call Siamese Fighting Fish for no reason!
Have 6 or more corydoras, they are schooling/shoaling fish and they thrive in bigger numbers, you can fit 15 of them easily in that size tank.
I'm unsure, but clearly heard this somewhere, some kind/s of Rams require higher temperatures and therefore they will die of cold water reasons, give it away to your local store for best.
And circling back to your water parameters, I'm afraid that your tank might be still trying to cycle. Nitrates should be kept below 20ppm.