put all functionality in footer, added bootstrap formating