Got login working with live Api call