official login toggle working