Improved login and registration forms. Other minor fixes.