move auth to index, update readme and package