Fixed syntax error

Fixed missing comma in constant declaration.
Fix database connection

Fixed code for establishing database object.
Change href for site title

Changed href for site title to use ROOTURL constant.