created index view for messages