Ajax POST is stored into the database