Hello and thank you for choosing just answer.
First off, you NEED to be able to login into the computer, so you need to get a USB keyboard and mouse temporarily, THEN we can address the wireless Keyboard and muse that is not working.
You cant fix it, if you can control it. Make sense?
So, if you have to buy one, or borrow, or beg, or steal.....no just kidding. But you HAVE to get control.
Let me know once you have control