almost forgot the method to actually make logging out work!
added padding to .bg-warning and .bg-info, as well as adding conditionals making sure that they exist before outputting the div blocks