add User register func