Ajax working, before implementing session variables