some fixes in controller and added bootstrap styles