disable button on successful login