Implemented data transmission. App is now able to send, receive and save userData