Logout

Added logout and other shit. Tested and works