When a user logs out of the application, the access data stored under the “userToken” key in the local storage area should be deleted from the system.
Application Flow
- Go to the UI Design module.
 - Drag and drop the following elements from the Elements panel: 
- Button: “Log Out” button
 - (Optional) Navigate: Redirect to the login screen after logging out
 
 
Action Flow and Configuration
- Select the button.
 - +ADD ACTION → OnClick → Local Storage → Delete From Local Storage
 - Key: “userToken”
 - Then add a Navigate action: 
- To Screen: LoginScreen
 - Open As: Current Page
 
 
With this configuration, when the user logs out, both the token information is deleted and the user is redirected to the login screen.