WORKING. sets cookies from DB to browser