Validate the email of the user, if it is not valid set it to absent
Sonar: always close connection