check for logged in user on app init