Logs a user out of the application.
Logout()
To log a user out of the application, simply call the Logout() function.