made username available in views