Update UserModule.php

Added the password verification in the login function