Fixes in DB, security pathes and more

Cron jobs, fixed Intaller, Changes in Relations (add primary key), async
Jobs,