All requests implemented. Added logging. Added validator. Added ajax queries.