Taks application - Assign the task to a registered user

Hello, I am creating a task app and I want that when creating a task it is possible to assign the task to a registered user, could you help me how should I do it?