clearSession
Method to clear the current localUser session
Parameters
onClear
: the action to execute when the session has been cleaned
Method to clear the current localUser session
: the action to execute when the session has been cleaned