User refactored to UserTable because User is a reserved word in pgsql