added some more functionality to login/register/logout panel in header