mistake in login button onClick