Update UsersController.php

Added test function for emails