Simplified user class; php defaults vars to null so no need to duplicate that