small php ajax chat for university project