Added setupKeyLogin