add user and name attributes to navbar directive 5