added mysql queries
got rid of the default page