Query Data from RethinkDB. Putting code in Controller.