Implemented the logout mechanism
Adding tests
Testing the logout function
Testing & documenting the cookie-related functions