fix api
had wrong thread name
threaded add recipe api calls
fixed var ref
doing pic folder instead of ids
fixed bug with strings in the database