fixed more bootstrap stuff. defined helper function for urls. fixed up minor details