Update UsersController.php

added untested MD5 and SHA support