Adding code to save off token in session variable