added getCreditRequestById to DatabaseConnector