fixed user ids being stored as object instead of string
remove core.php