login and register modified to use bootstrap