add base_small_form template and make login/register templates extend it