add user and name attributes to navbar directive 2