ajax call added for login button