- automatically save library state after successful/unsuccessful user login