testing login bean