testing login handler