Catty is right, her teeth could be an issue and if it's causing her pain that might explain the peeing.
Scout just finished antibiotics for an abscessed upper canine. It had gotten so bad that her tooth was getting longer because the swelling was pushing the root down. I didn't even realize anything was wrong until I noticed her tooth looking longer plus she wasn't eating well the few days before I took her to the vet. Now we think she could have been our other peeing cat because she was in pain and trying to tell us. One possibility for Anika.