refactored views. bootstrap applied