pass user information down to templates