finish user api