Update requirements
Add the logout funct