Frontend queries database successfully..