[FEATURE] add variables to update the template on sign in error