added a process command def working
added register_user def