added basic UA register and receive functionalities