changed uid to type string due to uid integer being too long for PG database