add function to users