added ajax get for main page