Code cleaning userlist.c:

    Removal of code repetition.
    Code style check. (0/1 FALSE/TRUE, and 0 NULL).
    free_user() return type int -> void.