struggling with ajax
fixed some conflicts
still working on userauth
Finally got it
merging