expose authorized username to view functions