add user and name attributes to navbar directive 7