updated user tests and a bit of ajax