added licence
added php code for the session server