- Finished the Log in and log out backend functions