working on checking if there are new messages and notifying the user