ajax and some profile changes