you can now get database stuff from the client side. see commented out code