move tmp_user into admin class

Change-Id: I182610a7641ac11134aed6a169fd86021964c889