Unfinished jquery for the UI, and incomplete MySQL connection