added receipt methods to database manager