bug on the admin determination on the second login