added code that connects the android application to the database