added cron job and half ajax done for main page
Front page integrated with back-end and all two ajax requests set up.