I also added maybe 2-3 drops of Prime in the tank during the water change. Is this good?
To dechlorinate, you should either treat the water before putting it into the tank (per bottle's dosing instructions) or treat the entire tank if you're treating the water as/after adding your tap water. Otherwise, it will not fully dechlorinate for a while, giving it time to kill of beneficial bacteria.
By the way, during the night, he usually sticks his head up (not out of the water) so does this mean the water quality is bad?
As others have said, testing water qualities is more reliable than judging the animal's behavior. With an ammonia level of 8, he's probably looking for somewhere else to go that's less toxic. Read up on the nitrogen cycle, an keep doing daily changes with dechlorinated water.
It's more of a gelatinous substance with green stuff in it, kinda like a green/brown spermatophore.
If there are worms burrowing into the substrate and dying there, along with crickets and other foods, the substance is probably decomposing food, which will also raise the ammonia levels. Be sure to clean uneaten food away. There are a lot of threads on this site in the caudata culture section about appropriate food items and techniques for feeding to prevent this. Check out
Caudata Culture Home Page.
Unfortunately however, I noticed that there is a little bit of fungus growing on his head.
The link to caudata culture should also have information on saltbaths to treat fungal infections (if I remember correctly). The most likely cause at this stage is poor water quality, so stay on top of (1) removing all uneaten foods (2) daily water testing (3) daily water changes with fully dechlorinated water.
While you're working on those three things, it would be good to poke through the articles on caudata culture to read all you can about the animal you have, tips to feed/house it, and the cycling process.