Added code to clear user ID from localstorage