You need to put some woody fibre into your compost
This can be scrunched up dampened newspaper, egg cartons, loo rolls, shredded bark.. pretty much anything that has some fibre.
Grass clippings are fine for a composter, but too much and the whole thing gets slimy, which looks to be your problem. Adding a layer of damp newspapers should sort it out.