changing focus to txtLogin and txtMaster
add grid loading, fix some bugs