add flash and validation
add chats list to index