changing ajax
ajax for messages