Fix signin/login bug