Added ajax

Added ajax submitting login and signup forms.