Initial commit - working auth and query