Move user_db.name from templates to 'view' functions.