integration and bug fixing

SMS problem resolved.
integrating the server connection with the app