added alert messages in the repository