add an SSL redirect
fix some whitespace problems