changed register and login to work with bootstrap.