fixing top navbar fnmt login button, was not dynamic