Amended the SQL statements in the DAOs to take in UserID