Fixes session user persistence