Check for logged in user on page refresh