Implements logout logic
Allows user print their expenses