Updating Auth code, also making it a variable for easier reference