Fix/download state when sign in