handling base.html login, signup nav menu handling control.