Updated to add new ratings into DB, validate pw