done with validate on register, header to navbar