bug fix : ajax call for login and signup page on page load