modify the loginuser status