refresh token only if error status is 401 & improve comment
fix express template indentation