A pill dispenser, comprising: a housing defining an opening; a pill-dispensing mechanism disposed within the housing and operatively coupled to the opening; a receptacle operatively coupled to the housing; a first pill-viewing camera positioned to capture an image of the receptacle; an identifying camera positioned to capture an image of an area adjacent to the housing; at least one processor in operative communication with the pill-dispensing mechanism, the first pill-viewing camera, and the identifying camera; and a storage medium for storing processor executable instructions configured for execution by the at least one processor for: instructing the pill-dispensing mechanism to dispense a pill; then instructing the first pill-viewing camera to capture a first image of the pill, then determining a presence of the pill within the first image; then instructing the first pill-viewing camera to capture a second image; then determining an absence of the pill within the second image; then instructing the identifying camera to capture a third image; then determining that a face within the third image is an unauthorized user by using a facial recognition algorithm to compare characteristics of the face against an internal database of the pill dispenser; and then communicating the third image and an indication that the unauthorized user is within the third image to a server. a housing defining an opening; a pill-dispensing mechanism disposed within the housing and operatively coupled to the opening; a receptacle operatively coupled to the housing; a first pill-viewing camera positioned to capture an image of the receptacle; an identifying camera positioned to capture an image of an area adjacent to the housing; at least one processor in operative communication with the pill-dispensing mechanism, the first pill-viewing camera, and the identifying camera; and a storage medium for storing processor executable instructions configured for execution by the at least one processor for: instructing the pill-dispensing mechanism to dispense a pill; then instructing the first pill-viewing camera to capture a first image of the pill, then determining a presence of the pill within the first image; then instructing the first pill-viewing camera to capture a second image; then determining an absence of the pill within the second image; then instructing the identifying camera to capture a third image; then determining that a face within the third image is an unauthorized user by using a facial recognition algorithm to compare characteristics of the face against an internal database of the pill dispenser; and then communicating the third image and an indication that the unauthorized user is within the third image to a server. instructing the pill-dispensing mechanism to dispense a pill; then instructing the first pill-viewing camera to capture a first image of the pill, then determining a presence of the pill within the first image; then instructing the first pill-viewing camera to capture a second image; then determining an absence of the pill within the second image; then instructing the identifying camera to capture a third image; then determining that a face within the third image is an unauthorized user by using a facial recognition algorithm to compare characteristics of the face against an internal database of the pill dispenser; and then communicating the third image and an indication that the unauthorized user is within the third image to a server.