moving to bootstrap and adding some redirect logic