User model unit tests

	modified:   app/models/User.php
	modified:   app/tests/models/UserTest.php