implemented logic that will load initialize the currentUser object with the most recent user details from local storage