fixed master admin login bugs