Fixed typo from abstracting; Fixed bug in dispensing regardless of whether user was authenticated.