Internal django authentication
Some minor layout changes