Creating messages table