Added logout functionality
Updated some type hints