migrate login and register to bootstrap 3