Auth update

Second auth update.  Changed SQL