Cosmetic changes and template code for log in and registration.