modified LoginAPI Example Responce