prepare ajax call on signup