Fixed toggling of login button