loginService.php, fixing code

closing else{ } and adding ;