add isLogedIn & requestPermissions