Fixes in client,added more php pages