working on ajax calls + fix problem of messages.info