finished loginApp sessionless method.