Generally speaking, if your cat likes to follow you to the bathroom, just let her. She probably just wants to use every opportunity to show you how much she loves you. If you find the attention overwhelming and want to reclaim some alone time, or if your cat is showing signs of separation anxiety or overprotectiveness, you may need to discourage her from following you. If you are using bathroom cleaning products, you should also ensure your cat stays away.