updated server request .. finally its working, added failure and success pages