login for master
little change