Fixed user loading on refresh