Bug solved with login button enabling or disabling.