Prevented double clicking log in