Working on adding auth routine