Keyboard closes when login button is clicked