added ajax call & login page