added a register on navbar