added php and edited gsp files