a working android application to connect to local database by registering and logging in.