I wish I could help but I don't know what will help with the sleeping.
Your GP can prescribe Melatonin which is a natural hormone and gets you off to sleep but doesn't keep you asleep and has no after-effects.
As for the loo, we gave up on trying to get to the toilet. We bought my husband a wee bottle from Boots and it is so easy to get it from the bedside table, flick the lid back, wee , put lid back and go back to sleep!
Maybe this would be easier..