Fix database + cookies
Database structure done
Now db is done
Start working