Implemented "add_user" function.