Add filter function and filters arrays
Move v0/user to the new User::filter function