Allows a user to retrieve notices on device from a server.Javascript and PHP