updated register to boostrap style