updated

adding if statement to check if the textfields are not empty when log
in button is clicked.