Created new methods to select database data from certain fields.