Adds a logout button to the home page app bar. Implements the logout logic in the login page model, clearing the stored user token. Navigates to the splash screen after logout to handle redirection based on the updated authentication state.