Return userid on successful authentication