changed navbar helper class to a module