Changed User TABLE_NAME to 'User'.