fixed overwriting user with nulls when app is fresh restarts